﻿namespace KaroEngine.Exceptions
{
    public class InvalidPlayerException : InvalidMoveException
    {
        public InvalidPlayerException()
                : base("Not this players turn")
        {
        }

        public InvalidPlayerException(Move move)
            : base("Not this players turn when moving from " + move.PositionFrom + " to " + move.PositionTo + " using tile " + move.TilePositionToMove, move)
        {
        }
    }
}